/**
 * Created by Administrator on 2017/6/13.
 */
angular
    .module('appSecond',[])
    .controller('SecondController',['$scope','$location',function ($scope,$location) {
        $scope.text = '这是第二页';
        $scope.goToIndex1 = function () {
            $location.path('/first');
        }
    }]);